//
// Created by xkj on 2020/8/5.
//

#ifndef PROJ_ANDROID_ACTCMD_H
#define PROJ_ANDROID_ACTCMD_H

#define BT_CTRL_PREV 108;//上一页
#define BT_CTRL_NEXT 109;//下一页

enum BT_CMD_TYPE{
    Pen_Write,//一个书写指令
    Pen_Ctl,//一个控制指令
    Pen_DONOTHING
};

enum PenStatus
{
    PenStatus_Hover,
    PenStatus_Leave,
    PenStatus_Down,
    PenStatus_Move,
    PenStatus_Up,
    PenStatus_CLEAR,
    PenStatus_BLUE,
    PenStatus_BLACK,
    PenStatus_RED,
    PenStatus_PEN_FINE,
    PenStatus_PEN_MEDIUM,
    PenStatus_PEN_BOLD,
    PenStatus_PEN_CHOOSE,
    PenStatus_MOUSE_CHOOSE,
    PenStatus_SAVE,
    PenStatus_PREV,
    PenStatus_NEXT,
    PenStatus_NOTHING,
};

struct ActCmd
{
    BT_CMD_TYPE act;
    PenStatus actDetail;
    float x;
    float y;
    float presure;
};



#endif //PROJ_ANDROID_ACTCMD_H
